<div>
    <div class="row">
        <div class="col-md-1 padding-r-0">
            <div class=" border-radius ">
                <div class="margin-xs-r  treeview ">
                    <ul class="list-group text-center border-radius">
                        <li class="list-group-item node-orgTree " v-for="(item,index) in liftRideLogInfo.machines"
                            :key="index" @click="_swatchLiftMachine(item)"
                            :class="{'vc-node-selected':liftRideLogInfo.conditions.machineId == item.machineId}">
                            {{item.machineName}}
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="col-md-11">

            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="查询条件"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择门禁设备名称','liftRideLog')"
                                    v-model="liftRideLogInfo.conditions.acMachineName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择门禁设备编号','liftRideLog')"
                                    v-model="liftRideLogInfo.conditions.acMachineCode" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <select class="custom-select" v-model="liftRideLogInfo.conditions.rideType">
                                    <option selected  value="">
                                        {{vc.i18n('请选择乘坐类型','liftMachineManage')}}
                                    </option>
                                    <option value="1001">人脸</option>
                                    <option value="2002">刷卡</option>
                                    <option value="3003">二维码</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择用户名称','liftRideLog')"
                                    v-model="liftRideLogInfo.conditions.name" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <select class="custom-select" v-model="liftRideLogInfo.conditions.personType">
                                    <option selected  value="">
                                        {{vc.i18n('请选择人员类型','liftMachineManage')}}
                                    </option>
                                    <option value="100">访客</option>
                                    <option value="200">员工</option>
                                    <option value="300">业主</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryLiftRideLogMethod()">
                                <vc:i18n name="查询"></vc:i18n>
                            </button>
                        </div>
                    </div>

                </div>
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox">
                        <div class="ibox-title">
                            <h5>
                                <vc:i18n name="乘坐记录" namespace="liftRideLog"></vc:i18n>
                            </h5>
                            <div class="ibox-tools" style="top:10px;">

                            </div>
                        </div>
                        <div class="ibox-content">
                            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                                <thead>
                                    <tr>
                                        <th class="text-center">
                                            <vc:i18n name='人脸' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='编号' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='电梯名称' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='门禁名称' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='门禁编号' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='乘坐类型' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='用户名称' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='手机号' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='人员类型' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='房号' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='楼层' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name='乘坐时间' namespace='liftRideLog'></vc:i18n>
                                        </th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr v-for="liftRideLog in liftRideLogInfo.liftRideLogs">
                                        <td class="text-center" style="white-space: nowrap;">
                                            <img style="width: 60px; height: 60px;" class="border-radius"
                                                v-if="liftRideLog.facePath" v-bind:src="liftRideLog.facePath"
                                                v-on:click="_viewOwnerFace(liftRideLog.facePath)" />
                                            <img style="width: 60px; height: 60px;" class="border-radius" v-else
                                                src="/img/noPhoto.jpg" />
                                        </td>
                                        <td class="text-center">{{liftRideLog.logId}}</td>
                                        <td class="text-center">{{liftRideLog.machineName}}</td>
                                        <td class="text-center">{{liftRideLog.acMachineName}}</td>
                                        <td class="text-center">{{liftRideLog.acMachineCode}}</td>
                                        <td class="text-center">{{liftRideLog.rideType}}</td>
                                        <td class="text-center">{{liftRideLog.name}}</td>
                                        <td class="text-center">{{liftRideLog.tel}}</td>
                                        <td class="text-center">{{liftRideLog.personType}}</td>
                                        <td class="text-center">{{liftRideLog.roomName}}</td>
                                        <td class="text-center">{{liftRideLog.layer}}</td>
                                        <td class="text-center">{{liftRideLog.createTime}}</td>
                                    </tr>
                                </tbody>
                            </table>
                            <!-- 分页 -->
                            <vc:create path="frame/pagination"></vc:create>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>